package com.example.leetcode.sort;

import com.example.leetcode.sort.common.SortUtils;

class Solution1046 {
    public int lastStoneWeight(int[] stones) {
        return SortUtils.lastStoneWeight(stones);
    }
}

public class leetcode1046 {
    public static void main(String[] args) {
        Solution1046 solution1046 = new Solution1046();
        int[] stones = {2, 7, 4, 1, 8, 1};
        System.out.println(solution1046.lastStoneWeight(stones));
    }
}
